package pe.com.bn.sach.dao.impl;

import java.util.List;

import com.ibatis.sqlmap.client.SqlMapClient;

import pe.com.bn.sach.dao.ProgramaDAO;

public class ProgramaImpl implements ProgramaDAO {

	
	
	protected SqlMapClient sqlMap = null;
	
	public void setSqlMap(SqlMapClient sqlMap) {
		this.sqlMap = sqlMap;
	}

	public List listPrograma() throws Exception{
		return sqlMap.queryForList("sqlPrograma.listaPrograma","");
	}	
	
}
